WPBannerize\Models\WPBannerizePost A

Total Complexity 74
Dependencies 3
Dependents 5
Total lines 577
Lines of code 365
Logical lines of code 173
Comment lines 64
Methods 30
Properties 3

Methods 30

Method Rating Maintainability Complexity Lines of code
getSizeWithURL()
A
50 8 29
getImage()
S
51 6 25
__get()
S
55 6 19
where()
S
55 5 20
metaQuery()
S
43 1 64
getBannerAttributes()
S
58 3 15
getContentBasedOnMimeType()
S
67 3 8
getBannerStyles()
S
62 3 10
renderBanner()
S
59 2 15
getWidth()
S
70 3 6
getHeight()
S
70 3 6
getText()
S
68 3 6
preview()
S
66 3 8
thumbnail()
S
66 3 8
getMimeTypesWithExtension()
S
60 2 14
getBannerClasses()
S
66 2 8
getBannerTypeAttribute()
S
79 2 3
getUrl()
S
79 2 3
getDescription()
S
75 2 4
ext()
S
65 2 9
expired()
S
62 1 11
max_impressions()
S
62 1 11
max_clicks()
S
62 1 11
scheduled()
S
62 1 11
timed()
S
62 1 11
getBannerClicksAttribute()
S
73 1 5
getBannerImpressionsAttribute()
S
73 1 5
__toString()
S
70 1 7
display()
S
68 1 7
all()
S
70 1 6